#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

union UN
{
	int i;
	char c;
}un;

int check_sys(void)
{
	un.i = 1;
	return un.c;
}

int main()
{
	int ret = check_sys();
	if (ret == 1)
	{
		printf("小端\n");
	}
	else
	{
		printf("大端\n");
	}
	return 0;
}